import requests
heads = {}
heads['User-Agent'] ='Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36'
resonse=requests.get("http://www.pxc.jx.cn/")
resonse.encoding="utf-8"
fileName="萍乡学院"
file=open("D:\\萍乡学院.html","w",encoding="utf-8")
for i in resonse.text:
    file.write(i)
file.close()
